package com.wxy.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@SpringBootApplication
@RestController
public class SpringbootApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringbootApplication.class, args);
	}

	@RequestMapping("/test01")
	public Map method(){

		HashMap<Object, Object> objectObjectHashMap = new HashMap<>();
		  objectObjectHashMap.put("string","adf");

		  return objectObjectHashMap;
	}

}
